package cn.kgc.spring.jdbc.mapper;

import cn.kgc.spring.jdbc.entity.Student;

import java.util.List;

/**
 * @author: mosin
 * @version: v1.0  2022/4/26
 */
public interface StudentMapper {

    Student selectOne(int id);
    List<Student>  selectAll();
    int selectTotal();
    int addStudent(Student student);
    int updateStudent(Student student);
    int delStudent(int id);
}
